Don't check resize-grip-visible in default values unit test
authorKristian Rietveld <kris@gtk.org>
Tue, 12 Oct 2010 17:08:34 +0000 (19:08 +0200)
committerKristian Rietveld <kris@gtk.org>
Tue, 12 Oct 2010 17:12:44 +0000 (19:12 +0200)
The value for this property is determined at runtime.

gtk/tests/defaultvalue.c

index ace79ff109dee561c335141dc0a07e73c846e21b..22301a16f2b4bf28a12382017568123d15b2276e 100644 (file)
@@ -275,6 +275,11 @@ test_type (gconstpointer data)
           strcmp (pspec->name, "style") == 0))
        continue;
 
+      /* resize-grip-visible is determined at runtime */
+      if (g_type_is_a (type, GTK_TYPE_WINDOW) &&
+          (strcmp (pspec->name, "resize-grip-visible") == 0))
+        continue;
+
       if (g_test_verbose ())
       g_print ("Property %s.%s\n", 
             g_type_name (pspec->owner_type),